<?php
/* @var $this UndergroundTankController */
/* @var $model UndergroundTank */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'underground-tank-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'name_of_contractor_or_installer'); ?>
		<?php echo $form->textArea($model,'name_of_contractor_or_installer',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'name_of_contractor_or_installer'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'date_installed'); ?>
		<?php echo $form->textField($model,'date_installed'); ?>
		<?php echo $form->error($model,'date_installed'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'no'); ?>
		<?php echo $form->textField($model,'no'); ?>
		<?php echo $form->error($model,'no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'kind_of_flammable'); ?>
		<?php echo $form->textArea($model,'kind_of_flammable',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'kind_of_flammable'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'capacity'); ?>
		<?php echo $form->textField($model,'capacity'); ?>
		<?php echo $form->error($model,'capacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dept_of_land_fill'); ?>
		<?php echo $form->textArea($model,'dept_of_land_fill',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'dept_of_land_fill'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'distance_between_tank'); ?>
		<?php echo $form->textField($model,'distance_between_tank',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'distance_between_tank'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'inspection_id'); ?>
		<?php echo $form->textField($model,'inspection_id'); ?>
		<?php echo $form->error($model,'inspection_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->